$OpenBSD: patch-device_serial_BUILD_gn,v 1.2 2017/04/19 05:16:47 robert Exp $
--- device/serial/BUILD.gn.orig.port	Thu Dec 15 00:02:10 2016
+++ device/serial/BUILD.gn	Tue Jan  3 20:30:00 2017
@@ -52,6 +52,13 @@ static_library("serial") {
     "//third_party/re2",
   ]
 
+  if (is_openbsd) {
+    sources -= [
+      "serial_device_enumerator_linux.cc",
+      "serial_device_enumerator_linux.h"
+    ]
+  }
+
   if (use_udev) {
     deps += [ "//device/udev_linux" ]
   }
